package com.li.springbootproject.domain.common;

import java.io.Serializable;

/**
 * @Description：
 * @Author：LiDong
 * @Create：2021/3/17
 * @Version：1.0.0
 */
public class BackResult implements Serializable {

    private static final long serialVersionUID = 2405172041950251807L;

    private static final String SUCCESS = "200";
    private static final String ERROR = "500";

    /**
     * 信息
     */
    private String message;

    /**
     * 数据
     */
    private Object data;

    /**
     * 是否成功请求
     */
    private boolean success;


    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return this.data;
    }

    public void setData(final Object data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

}
